home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
c-lang
/
strmc105.lha
/
StormC-Demo
/
INCLUDE
/
assert.h
next >
Wrap
C/C++ Source or Header
|
1996-02-22
|
452b
|
26 lines
#ifndef _INCLUDE_ASSERT_H
#define _INCLUDE_ASSERT_H
/*
** $VER: assert.h 1.01 (18.1.96)
** StormC Release 1.0
**
** '(C) Copyright 1995/96 Haage & Partner Computer GmbH'
** All Rights Reserved
*/
#ifdef NDEBUG
#define assert(C)
#else
#ifdef __cplusplus
extern "C" {
#endif
void do_assert(char *, char *, char *, unsigned int);
#ifdef __cplusplus
}
#endif
#define assert(C) { if(!(C)) do_assert(#C, __FILE__, __FUNC__, __LINE__); }
#endif
#endif